import os
import sys

from my_py_toolkit.file.file_toolkit import *

if __name__ == '__main__':
    dir = sys.argv[1]
    all_nums = 0
    for d in os.listdir(dir):
        cur_num = len(get_file_paths(f"{dir}/{d}"))
        all_nums += cur_num
        print(f'{d}: {cur_num}')
    print(f'All nums: {all_nums}')